﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

using Whoever.Framework.Base;

namespace Comswing.Business.Entities
{
    public class Organization : BusinessEntity
    {
        [Key]
        public int Id { get; set; }
        public int UserId { get; set; }
        [Required]
        public string Name { get; set; }
        public string Description { get; set; }

        public virtual User User { get; set; }
        public virtual ICollection<OrganizationSwing> OrganizationSwings { get; set; }
    }
}
